home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / QuickTime VR / MacOS / QuickDraw™ 3D 1.0.6F4 SDK / Samples / SampleCode / BoxTex / BoxTexShell.h < prev    next >
Encoding:
Text File  |  1995-03-14  |  1.2 KB  |  59 lines  |  [TEXT/MPCC]

  1. // smallshell.h - public interface for the shell
  2. //
  3. // Modification History:
  4. //
  5. //    01/01/95    nick    created this file from other stuff
  6.  
  7. #ifndef _SMALLSHELL_H_
  8. #define _SMALLSHELL_H_
  9.     
  10. //-------------------------------------------------------------------------------------------
  11. //
  12. enum {
  13.     mApple = 128,
  14.     mFile,
  15.     mEdit,
  16.     mTest
  17. } ;
  18.  
  19. enum {
  20.     iAbout = 1
  21. } ;
  22.  
  23. enum {
  24.     iNew = 1,
  25.     iOpen,
  26.     iClose,
  27.     iUnused1,
  28.     iQuit
  29. } ;
  30.  
  31. //-------------------------------------------------------------------------------------------
  32. //
  33. enum {
  34.     iUsePictPalette = 1
  35. } ;
  36.  
  37. //-------------------------------------------------------------------------------------------
  38. // globals - defined in SmallShell.c
  39. extern Boolean gQuitFlag ;
  40.  
  41.  
  42. //-------------------------------------------------------------------------------------------
  43. // constants - defined in SmallShell.c
  44. extern const RGBColor    kRGBBlack ;
  45. extern const RGBColor    kRGBWhite ;
  46.  
  47. // function prototypes
  48.  
  49.  
  50. WindowPtr     DoCreateBufferedWindow(    Rect *theRect, 
  51.                                     const Ptr theStorage, 
  52.                                     const CTabHandle theWindowCTab,
  53.                                     const short theDepth, 
  54.                                     const Str255 theTitle ) ;
  55. short         HiWrd(long aLong) ;
  56. short         LoWrd(long aLong) ;
  57.  
  58.  
  59. #endif